﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetDon.OA.Interface.Admin
{
    public interface IPostService
    {
        PostDataCollection GetChildPosts(Guid postId);

        PostDataCollection GetRootPosts();

        PostData GetPost(Guid postId);
        string GetPostName(Guid postId);
        bool RemovePost(Guid postId);

        bool CheckPostUsed(Guid postId);

        bool AddPost(PostData post);

        bool ModifyPost(PostData post);

        //int GetUserPositionLevel(Guid userId);
    }
}
